<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@include file="../base.jsp" %> 
<%
  String selectId = request.getParameter("selectlogTypeId");
  out.println(selectId); 
%>
<sys:genericTag4o 
    id="logTypeId"
    methodName="queryLogTypeList" 
    className="com.tmpt.controller.taglib.OperationlogTag"/>
    
<sys:genericTag4o 
    id="operationlogId"
    methodName="queryOperationlogByLogType" 
    className="com.tmpt.controller.taglib.OperationlogTag">
    <sys:columnTag columnName="pageNo" columnValue="${param.pageNo}"/>
    <sys:columnTag columnName="pageSize" columnValue="${param.pageSize}"/>
    <sys:columnTag columnName="selectlogTypeId" columnValue="${param.selectlogTypeId}"/>
</sys:genericTag4o>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>日志查询</title>

</head>
<body>

<s:form id="paginationForm" name="paginationForm" action="/admin123/log/log.jsp" theme="simple" method="get">
    <sys:pagination paginationDtoId="operationlogId"/>
    <table align="center" width="80%"  cellpadding="0" cellspacing="0" border=1>
        <tr>
            <td align = "center" width="10%">id</td>
            <td align = "center" width="10%">登录名</td>
            <td align = "center" width="10%">登录IP</td>
            <td align = "center" width="12%">操作时间</td>
            <td align = "center">操作信息内容</td>
        </tr> 
        <s:iterator value="#attr.operationlogId.recordList">
        <tr>
            <td><s:property value="id"/></td>
            <td><s:property value="loginName"/></td>
            <td><s:property value="loginIp"/></td>
            <td><s:property value="createDate"/></td>
            <td><s:property value="description"/></td>
	    </tr>
	    </s:iterator>
    </table>
    <br/>
    <br/>
    <br/>
    
     <s:select 
     list="#attr.logTypeId"
     listKey="id"
     headerKey="0"
     headerValue="=请选择="
     listValue="logTypeName"
     theme="simple"
     value="#parameters.selectlogTypeId[0]"  
     name = "selectlogTypeId"
     /> 

     <input type="submit" value="1111提交">
    
    </s:form>
   

</body>
</html>